/* 
 * File:   Cell.h
 * Author: pson
 *
 * Created on May 31, 2011, 10:03 AM
 */

#ifndef NRPSTG_CELL_H
#define	NRPSTG_CELL_H

#include <GL/gl.h>

enum CELL_CONN {
    CELL_XP = 1,
    CELL_XN = 2,
    CELL_YP = 4,
    CELL_YN = 8,
    CELL_ZP = 16,
    CELL_ZN = 32,
};


struct CellDef {
    GLubyte _terrain;
    GLubyte _fill;
    GLubyte _connect;
};

class Cell {
private:
    GLubyte _terrain;
    GLubyte _fill;
    GLubyte _connect;
    
public:
    Cell();
    ~Cell();
    
    void set_terrain(GLubyte t);
    void set_fill(GLubyte t);
    void set_connect(GLubyte t);
};

#endif	/* NRPSTG_CELL_H */

